package com.jkoss.wine.memberManagement.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.SqlHelper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.jkoss.wine.memberManagement.entity.Member;
import com.jkoss.wine.memberManagement.mapper.MemberMapper;
import com.jkoss.wine.memberManagement.service.IMemberService;


/**
 *  服务实现类
 * 
 * @Author Supreme
 * @Version 1.0, 2018-10-04
 * @See
 * @Since com.jkoss.wine.memberManagement.service.impl
 * @Description: TODO
 */
@Service
public class MemberServiceImpl extends ServiceImpl<MemberMapper, Member> implements IMemberService {

	@Override
	public Page selectVoByPage(Page page, Wrapper wrapper) {
		SqlHelper.fillWrapper(page, wrapper);
		page.setRecords(baseMapper.selectVoByPage(page, wrapper));
		return page;
	}

}
